package cn.wolfcode.p2p.business.mapper;

import cn.wolfcode.p2p.business.domain.StatisticsDayFlow;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface StatisticsDayFlowMapper {
    int deleteByPrimaryKey(Long id);

    int insert(StatisticsDayFlow record);

    StatisticsDayFlow selectByPrimaryKey(Long id);

    List<StatisticsDayFlow> selectAll();

    int updateByPrimaryKey(StatisticsDayFlow record);

    Map<String,BigDecimal> queryTotalAmount();

}